﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="complexGrid1.ascx.cs" Inherits="Control_complexGrid1" %>
<div class="divScrollHorizontal" >
    <asp:GridView ID="GV1" runat="server" 
        AutoGenerateColumns="true" 
        PageSize="10" 
        CssClass="tableSummary"
        onrowcommand="GV1_RowCommand" 
        OnPageIndexChanging="GV1_PageIndexChanging"
        onrowdatabound="GV1_RowDataBound"
        OnSorting="GV1_Sorting" 
        ondatabound="GV1_DataBound"
        
        >
        <Columns>
            <asp:TemplateField HeaderText="..." >
                <ItemTemplate>
                    <asp:Button ID="btn_detail" runat="server" CommandName="detail" />
                </ItemTemplate>
            </asp:TemplateField>
        </Columns> 
        <emptydatarowstyle backcolor="LightBlue"
          forecolor="Red"/>
        <emptydatatemplate>

         

            No Data Found.  

        </emptydatatemplate> 

    </asp:GridView>
</div>